package com.softline.documentsmall.entity;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * entry_details_log
 *
 * @author wph
 */
@Data
public class EntryDetailsLog implements Serializable {
    /**
     * id
     */
    private Integer id;

    /**
     * 术语详情审核表ID
     */
    private Integer detailsSubmitId;

    /**
     * 标识当前区块内容属于哪一次提交
     */
    private String submitId;

    /**
     * 对应词典中词的id
     */
    private Integer dictionaryId;

    /**
     * 术语名字
     */
    private String name;

    /**
     * 多语言分类，如英文：en，中文：cn
     */
    private String language;

    /**
     * 更新次数
     */
    private Integer changeCount;

    /**
     * 老区块名称（如释义、历史、扩展解释等）
     */
    private String oldTitle;

    /**
     * 老区块具体内容，富文本形式
     */
    private String oldContent;

    /**
     * 新区块名称（如释义、历史、扩展解释等）
     */
    private String newTitle;

    /**
     * 新区块具体内容，富文本形式
     */
    private String newContent;

    /**
     * 字符比上次变化数
     */
    private Integer changeNum;

    /**
     * 更改理由
     */
    private String reason;

    /**
     * 是否是新增的区块，0否1是
     */
    private Integer isCreate;

    /**
     * 审核时间
     */
    private String date;

    /**
     * 审核用户ID
     */
    private String updateId;

    /**
     * 审核用户
     */
    private String updateUser;

    /**
     * 更新时间
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDetailsSubmitId() {
        return detailsSubmitId;
    }

    public void setDetailsSubmitId(Integer detailsSubmitId) {
        this.detailsSubmitId = detailsSubmitId;
    }

    public String getSubmitId() {
        return submitId;
    }

    public void setSubmitId(String submitId) {
        this.submitId = submitId;
    }

    public Integer getDictionaryId() {
        return dictionaryId;
    }

    public void setDictionaryId(Integer dictionaryId) {
        this.dictionaryId = dictionaryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public Integer getChangeCount() {
        return changeCount;
    }

    public void setChangeCount(Integer changeCount) {
        this.changeCount = changeCount;
    }

    public String getOldTitle() {
        return oldTitle;
    }

    public void setOldTitle(String oldTitle) {
        this.oldTitle = oldTitle;
    }

    public String getOldContent() {
        return oldContent;
    }

    public void setOldContent(String oldContent) {
        this.oldContent = oldContent;
    }

    public String getNewTitle() {
        return newTitle;
    }

    public void setNewTitle(String newTitle) {
        this.newTitle = newTitle;
    }

    public String getNewContent() {
        return newContent;
    }

    public void setNewContent(String newContent) {
        this.newContent = newContent;
    }

    public Integer getChangeNum() {
        return changeNum;
    }

    public void setChangeNum(Integer changeNum) {
        this.changeNum = changeNum;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Integer getIsCreate() {
        return isCreate;
    }

    public void setIsCreate(Integer isCreate) {
        this.isCreate = isCreate;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "EntryDetailsLog{" +
                "id=" + id +
                ", detailsSubmitId=" + detailsSubmitId +
                ", submitId='" + submitId + '\'' +
                ", dictionaryId=" + dictionaryId +
                ", name='" + name + '\'' +
                ", language='" + language + '\'' +
                ", changeCount=" + changeCount +
                ", oldTitle='" + oldTitle + '\'' +
                ", oldContent='" + oldContent + '\'' +
                ", newTitle='" + newTitle + '\'' +
                ", newContent='" + newContent + '\'' +
                ", changeNum=" + changeNum +
                ", reason='" + reason + '\'' +
                ", isCreate=" + isCreate +
                ", date='" + date + '\'' +
                ", updateId=" + updateId +
                ", updateUser='" + updateUser + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
